package org.nicholasjones.radiocontroller.core;

/**
 * Created with IntelliJ IDEA.
 * User: whale
 * Date: 12/10/13
 * Time: 3:36 PM
 */
public enum TemperatureUnit {

    Kelvin("K"),
    KiloKelvin("Kk"),
    MegaKelvin("Mk");


    private final String unit;

    /**
     * enum constructor.
     * @param unit - the temperature unit in Kelvin.
     */
    TemperatureUnit(final String unit) {
        this.unit = unit;
    }

    /**
     * getter.
     * @return the unit.
     */
    public String getUnit() {
        return unit;
    }
}
